

import Select from '../views/02选项卡案例'
import SonFather  from '../views/03父子传值'
import DefaultProps from '../views/03父子传值/defaultProps'
import GrandFather from '../views/04跨级传值'
import Ev from '../views/04跨级传值/ev'
import Lifecycle from '../views/05生命周期'
import Abc from '../views/06高阶组件/abc'
import Home from '../views/08redux'
import Todolist from '../views/08redux/todolist'
const routers = [
    {
        path:'/home',
        component:Home,   
       
    },
    {
        path:'/todolist',
        component:Todolist
    },
    {
        path:'/select',
        component:Select,   
       
    },
    {
        path:'/sonfather',
        component:SonFather
    },
    {
        path:'/defaultprops',
        component:DefaultProps
    },
    {
        path:'/context',
        component:GrandFather
    },
    {
        path:'/ev',
        component:Ev
    }, {
        path:'/lifecycle',
        component:Lifecycle
    },
    {
        path:'/abc',
        component:Abc
    },
    {
        from:'/',
        to:'/home'
    }
]


export default routers